#include "student.h"
#include <QMessageBox>

Student::Student(QObject *parent)
    : QObject{parent}
{}

void Student::qingke()
{
    QMessageBox::information(nullptr,"提示","学生请客");
}

void Student::qingke(const QString &food)
{
    QMessageBox::information(nullptr,"提示","学生请客,吃"+food);
}
